package demo;

import demo.config.ProviderConfig;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

import java.util.concurrent.CountDownLatch;

/**
 * @author m0v1
 * @date 2021年09月20日 11:59 下午
 */
public class ProviderBootStrap {

    public static void main(String[] args) throws InterruptedException {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(ProviderConfig.class);
        context.start();

        new CountDownLatch(1).await();
    }
}
